package com.android.quiz.geek.quiz;

import java.io.UTFDataFormatException;
import java.util.ArrayList;
import java.util.List;

import com.android.quiz.geek.utils.InitQuestion;

public class Questions
{
	private List<Question> questions;
	
	public Questions()
	{
		questions = new ArrayList<Question> ();
	}

	public List<Question> getQuestions()
	{
		return questions;
	}

	public void setQuestions(List<Question> questions)
	{
		this.questions = questions;
	}
	
	public void addQuestion(Question q)
	{
		questions.add(q);
	}
	
	public int questionNumber()
	{
		return questions.size();
	}
	
	public Question getQuestion(int pos)
	{
		return questions.get(pos);
	}
}
